package com.hotel.project.system.roomorders.mapper;

import com.hotel.project.system.roomorders.domain.RoomOrders;
import java.util.List;	

/**
 * 客房订单 数据层
 * 
 * @author pluto
 * @date 2019-04-06
 */
public interface RoomOrdersMapper 
{
	/**
     * 查询客房订单信息
     * 
     * @param id 客房订单ID
     * @return 客房订单信息
     */
	public RoomOrders selectRoomOrdersById(Integer id);
	
	/**
     * 查询客房订单列表
     * 
     * @param roomOrders 客房订单信息
     * @return 客房订单集合
     */
	public List<RoomOrders> selectRoomOrdersList(RoomOrders roomOrders);
	
	/**
     * 新增客房订单
     * 
     * @param roomOrders 客房订单信息
     * @return 结果
     */
	public int insertRoomOrders(RoomOrders roomOrders);
	
	/**
     * 修改客房订单
     * 
     * @param roomOrders 客房订单信息
     * @return 结果
     */
	public int updateRoomOrders(RoomOrders roomOrders);
	
	/**
     * 删除客房订单
     * 
     * @param id 客房订单ID
     * @return 结果
     */
	public int deleteRoomOrdersById(Integer id);
	
	/**
     * 批量删除客房订单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteRoomOrdersByIds(String[] ids);
	
}